package com.cloud.bc.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

/**
 * 财务记录
 *
 * @author douhaichao code generator
 * @date 2021-01-13 11:19:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("bc_finance_records")
public class BcFinanceRecords extends Model<BcFinanceRecords> {

    /**
     *
     */
    @TableId
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 货币类型:1现金，2喜糖
     */
    private Integer currencyType;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 项目ID
     */
    private Integer pid;

    /**
     * 收支金额
     */
    private BigDecimal income;

    /**
     * 余额
     */
    private BigDecimal surplus;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

}
